package cn.founder.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    //当前页数起始
    private Integer currentPage = 1;
    //分页查询参数  当前页显示的条数
    private Integer pageSize = 10 ;

    //关键字 高级查询
    private String keyWord;

    public Integer getStart(){
        return (this.currentPage - 1)* this.pageSize;
    }
}
